//
//  OwnerViewController.m
//  lv678
//
//  Created by apple on 15/6/12.
//  Copyright (c) 2015年 lampshade. All rights reserved.
//  登陆页

#import "OwnerViewController.h"
#import "loginSkip.h"

@interface OwnerViewController ()
@property (weak, nonatomic) IBOutlet UIButton *pushLoginOrRegister;

@end

@implementation OwnerViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    _pushLoginOrRegister.layer.cornerRadius = 6;
    [self.pushLoginOrRegister addTarget:self action:@selector(push) forControlEvents:UIControlEventTouchUpInside];    
}

- (void)push{
    OwnerViewController  *owner = [[UIStoryboard storyboardWithName:@"Main" bundle:nil]instantiateViewControllerWithIdentifier:@"loginAndRegister"];
    UIViewController *view = [loginSkip viewSkipMethod:owner];
    [self.navigationController pushViewController:view animated:YES];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
}
- (void)viewWillAppear:(BOOL)animated{
    [self.navigationController setNavigationBarHidden:YES animated:YES];
}

@end
